SOUND POSITION Z

This command will return the current Z position of the 3D sound specified by Sound Number.

  Syntax
Return Float=SOUND POSITION Z(Sound Number)
  Parameters
Sound Number
Integer
The sound number

  Returns

THe command will return the current Z position of the 3D sound specified by Sound Number

  Example Code
cls
load sound "man.wav",1
play sound 1
print "sound position z "+str$(sound position(1))
wait 1000*8
stop sound 1
do
loop
end
  See also

SOUND Commands Menu
Index